package com.example.sp.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.sp.entity.Consume;
import com.example.sp.mapper.ConsumeMapper;
import com.example.sp.service.ConsumeService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("ConsumeService")
public class ConsumeServiceImpl extends ServiceImpl<ConsumeMapper, Consume> implements ConsumeService {
    /**
     *
     * @param grade 年级
     * @return
     */
    @Override
    public List<Consume> consume1(String grade1){
        return this.baseMapper.consume1(grade1);
    }
}
